package com.kcs.common.utils;

/**
 *
 * @author BeeZa
 */
public class Constant {
	
	/*Input Database Type this below source-code.*/
    public static final String SYBASE = "syb";
    public static final String ORACLE = "ora";
    public static final String MSSQL = "mssql";
    
    public static final String FROM = "from";
    public static final String TO = "to";
    
    /*Input other properties this below source-code.*/
    public static final String PROP_DATABASE = "props.DBResources";
    public static final String PROP_OTHER = "props.OtherResources";
    public static final String PROP_MAIL = "props.MailResources";
    public static final String PROP_MESSAGE = "props.WSMessage";
    public static final String PROP_REPORT = "props.ReportMessage";
    public static final String PROP_BLEVENT = "props.bl-event-config";
    
    /*Control display color when error on web page*/
 	public static final String ERR_ATTR = "error";
 
	public static final String SESSION_USERID = "user_id";
	public static final String SESSION_PASSWORD = "password";
	public static final String SESSION_USERNAME = "user_name";
 	public static final String SESSION_ACCESSTIME = "last_access_time";
 	public static final String SESSION_PREOPETIME = "pre_operation_time";
 	public static final String SESSION_AUTHORIZEDMENULIST = "menu_list";
 	public static final String EXEC_TYPE_SCREEN = "SCR";
	public static final String EXEC_TYPE_REPORT = "RPT";
	public static final String EXEC_TYPE_CSV = "CSV";
	public static final String EXEC_TYPE_XLS = "XLS";
	public static final String ARGS_MESSAGE = "@arg";
	public static final String LOGGER_WEBSERVICE = "wsLogger";
	public static final String LOGGER_APPLICATION = "appLogger";
	public static final String LOGGER_COMMON = "commonLogger";
	
	public static final String FX_MAGIN = "fxmagin";
	
	//-- 18/09/2013 by Aon : Login
	public static final String ERR_USER_ID_EMPTY = "User ID is empty!";
	public static final String ERR_PASSWORD_EMPTY = "Password is empty!";
	public static final String ERR_USER_NOT_FOUND = "Wrong UserID or Password!";
	public static final String ERR_ROLE_ID_EMPTY = "Role ID is empty!";
	
	public static final String KEY_RESULT = "KEY_RESULT";
	public static final String KEY_RESULT_TRUE = "KEY_RESULT_TRUE";
	public static final String KEY_RESULT_FALSE = "KEY_RESULT_FALSE";
	public static final String KEY_FORM = "KEY_FORM";
	
	public static final String HEADER_MENU_ATTR = "headerMenu";
	public static final String LOGIN_DATA_ATTR = "loginData";
	
	public static final String HEADER_MENU_SESSION = "headerMenuSession";
	public static final String LOGIN_DATA_SESSION = "loginDataSession";
	
	//-- 23/09/2013 by Aon : SCR003 Setup Role Profile
	public static final String ERR_FUNCTION_LIST_EMPTY = "No data found";
	public static final String FUCTION_LIST_ATTR = "KEY_FUNCTION_LIST";
	public static final String ERR_INSERT_M_USERS_AUTH = "Cannot insert m_users_auth";
	
	//-- 27/09/2013 by Aon : SCR014 Import Deposit/Withdraw to FX Margin
	// msg_code = 00003
	public static final String ERR_IMPORT_DW_LIST_EMPTY = "No data found";	
	// msg_code = 00002
	public static final String ERR_SEARCH_IMPORT_DW_CONDITION = "Please fill at least 1 condition.";
	public static final String IMPORT_DW_LIST_ATTR = "KEY_IMPORT_DW_LIST";
	public static final String EXCEL_IMPORT_DW_FILENAME = "importdw.xls";
	
	//-- 01/10/2013 by Aon : SCR007 Check FX Margin Limit&Order
	public static final String ERR_CIF_NO_EMPTY = "cifNo is Empty";
	public static final String COMPLETE_ATTR = "COMPLETE_ATTR";
	// msg_code = 00009
	public static final String ERR_OVER_LIMIT_CUSTOMER_AND_FX = "Over Customer &FX Margin LImit";
	// msg_code = 00010
	public static final String ERR_OVER_LIMIT_FX = "Over FX Margin Limit : Deposit Top Up(THB) = #,###.00";
	
	//TABLE FXMARGIN
	public static final String USERS 		= "m_users";
	public static final String CUST_INFO 	= "m_cust_info";
	public static final String SETUP_PARAM 	= "m_setup_param";
	public static final String ACC_ONLINE 	= "t_acc_online";
    public static final String DEALS_SETTLE = "t_deals_settle";
    
    //-- 04/10/2013 by Aon : SCR010 List of Forward Contract
  	public static final String FORWARD_CONTRACT_LIST_ATTR = "FORWARD_CONTRACT_LIST_ATTR";
  	public static final String ERR_SEARCH_FC_LIST_CONDITION = "Please fill at least 1 condition.";
	
	//-- 09/10/2013 by Aon
  	public static final String ERR_DATE_FORMAT = "Date Format must be dd/mm/YYYY";
  	public static final String ERR_DATE_BETWEEN = "Wrong StartDate to EndDate Range";
  	
  	//--- 15/10/2013 by Aon
  	public static final String SHOW_RESULT = "SHOW_RESULT";
  	
  	//--- 16/10/2013 by Aon
  	public static final String ERR_REQUIRED_COMPLETE = "Please fill required data in complete";
}

